﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ongoal.Quotation.Cap
{
    /// <summary>
    /// Topic Subscribe
    /// </summary>
    public class SubscribeConstantBase
    {
        /// <summary>
        /// 缺省回调方法
        /// </summary>
        public const string DefaultCallback = "Ongoal.Quotation.Cap.DefaultCallback";

        /// <summary>
        /// 用户维护
        /// </summary>
        public const string User = "Ongoal.Quotation.API.User";

        /// <summary>
        /// 批量用户数据同步
        /// </summary>
        public const string UserBatch = "Ongoal.Quotation.API.UserBatch";

        /// <summary>
        /// 删除用户
        /// </summary>
        public const string DeleteUser = "Ongoal.Quotation.API.DeleteUser";

        /// <summary>
        /// 批量部门数据同步
        /// </summary>
        public const string DepartmentBatch = "Ongoal.Quotation.API.DepartmentBatch";

        /// <summary>
        /// 部门维护
        /// </summary>
        public const string Department = "Ongoal.Quotation.API.Department";
        /// <summary>
        /// 删除部门
        /// </summary>
        public const string DeleteDepartment = "Ongoal.Quotation.API.DeleteDepartment";

        /// <summary>
        /// 代码表维护
        /// </summary>
        public const string CodeTable = "Ongoal.Quotation.API.CodeTable";

        /// <summary>
        /// 删除代码表
        /// </summary>
        public const string DeleteCodeTable = "Ongoal.Quotation.API.Department.DeleteCodeTable";
        /// <summary>
        /// 代码项维护
        /// </summary>
        public const string CodeItem = "Ongoal.Quotation.API.CodeItem";
        /// <summary>
        /// 删除代码项
        /// </summary>
        public const string DeleteCodeItem = "Ongoal.Quotation.API.Department.DeleteCodeItem";
    }

    public class MessageConstant: SubscribeConstantBase
    { }
}
